﻿using BW.Rabbit.ErrorCode;
using BW.Rabbit.Read.API.Dto;
using MediatR;

namespace BW.Rabbit.Read.API.Applications.Commands.GoodsInfoCommands
{
    /// <summary>
    /// 商品信息查询命令
    /// </summary>
    public class GoodsInfoQueryCommands:IRequest<APIResult<APIPaging<GoodInfosDto>>>
    {
        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex {  get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize {  get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodsName {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Production {  get; set; }
    }
}
